home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / NumberFormatException.java < prev    next >
Text File  |  1998-09-22  |  1KB  |  49 lines

  1. /*
  2.  * @(#)NumberFormatException.java    1.12 98/07/01
  3.  *
  4.  * Copyright 1995-1998 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  * 
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.lang;
  16.  
  17. /**
  18.  * Thrown to indicate that the application has attempted to convert 
  19.  * a string to one of the numeric types, but that the string does not 
  20.  * have the appropriate format. 
  21.  *
  22.  * @author  unascribed
  23.  * @version 1.12, 07/01/98
  24.  * @see     java.lang.Integer#toString()
  25.  * @since   JDK1.0
  26.  */
  27. public
  28. class NumberFormatException extends IllegalArgumentException {
  29.     /**
  30.      * Constructs a <code>NumberFormatException</code> with no detail message.
  31.      *
  32.      * @since   JDK1.0
  33.      */
  34.     public NumberFormatException () {
  35.     super();
  36.     }
  37.  
  38.     /**
  39.      * Constructs a <code>NumberFormatException</code> with the 
  40.      * specified detail message. 
  41.      *
  42.      * @param   s   the detail message.
  43.      * @since   JDK1.0
  44.      */
  45.     public NumberFormatException (String s) {
  46.     super (s);
  47.     }
  48. }
  49.